package com.example.demo_mvp.model;

import com.example.demo_mvp.base.model.BaseModel;
import com.example.demo_mvp.contract.VideoContract;
import com.example.demo_mvp.entity.BaseResponse;
import com.example.demo_mvp.entity.VideoEntity;

import java.util.List;

import io.reactivex.Observable;

/**
 * @author yaotianxue
 * @description
 * @date 2025/1/9
 */
public class VideoModel extends BaseModel implements VideoContract.IVideoModel {
    @Override
    public Observable<BaseResponse<List<VideoEntity>>> getVideoData(int currentPage) {
       return mApiServer.video(currentPage);
    }
}
